<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><title>Graphics.Win32.Menu</title><link href="linuwial.css" rel="stylesheet" type="text/css" title="Linuwial" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { processClass: "mathjax", ignoreClass: ".*" } });</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><span class="caption">Win32-2.12.0.1: A binding to Windows Win32 API.</span><ul class="links" id="page-menu"><li><a href="src/Graphics.Win32.Menu.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) Alastair Reid 1997-2003</td></tr><tr><th>License</th><td>BSD-style (see the file libraries/base/LICENSE)</td></tr><tr><th>Maintainer</th><td>Esa Ilari Vuokko &lt;ei@vuokko.info&gt;</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Graphics.Win32.Menu</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A collection of FFI declarations for interfacing with Win32.</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MenuName" class="def">MenuName</a> = <a href="System-Win32-Types.html#t:LPCTSTR" title="System.Win32.Types">LPCTSTR</a> <a href="src/Graphics.Win32.Menu.html#MenuName" class="link">Source</a> <a href="#t:MenuName" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:checkMenuItem" class="def">checkMenuItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#checkMenuItem" class="link">Source</a> <a href="#v:checkMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_CheckMenuItem" class="def">c_CheckMenuItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-Types.html#t:DWORD" title="System.Win32.Types">DWORD</a> <a href="src/Graphics.Win32.Menu.html#c_CheckMenuItem" class="link">Source</a> <a href="#v:c_CheckMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:checkMenuRadioItem" class="def">checkMenuRadioItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#checkMenuRadioItem" class="link">Source</a> <a href="#v:checkMenuRadioItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_CheckMenuRadioItem" class="def">c_CheckMenuRadioItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_CheckMenuRadioItem" class="link">Source</a> <a href="#v:c_CheckMenuRadioItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:createMenu" class="def">createMenu</a> :: <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#createMenu" class="link">Source</a> <a href="#v:createMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_CreateMenu" class="def">c_CreateMenu</a> :: <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#c_CreateMenu" class="link">Source</a> <a href="#v:c_CreateMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:createPopupMenu" class="def">createPopupMenu</a> :: <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#createPopupMenu" class="link">Source</a> <a href="#v:createPopupMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_CreatePopupMenu" class="def">c_CreatePopupMenu</a> :: <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#c_CreatePopupMenu" class="link">Source</a> <a href="#v:c_CreatePopupMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:drawMenuBar" class="def">drawMenuBar</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#drawMenuBar" class="link">Source</a> <a href="#v:drawMenuBar" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_DrawMenuBar" class="def">c_DrawMenuBar</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_DrawMenuBar" class="link">Source</a> <a href="#v:c_DrawMenuBar" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MenuState" class="def">MenuState</a> = <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#MenuState" class="link">Source</a> <a href="#t:MenuState" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:enableMenuItem" class="def">enableMenuItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#enableMenuItem" class="link">Source</a> <a href="#v:enableMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_EnableMenuItem" class="def">c_EnableMenuItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#c_EnableMenuItem" class="link">Source</a> <a href="#v:c_EnableMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:GMDIFlag" class="def">GMDIFlag</a> = <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#GMDIFlag" class="link">Source</a> <a href="#t:GMDIFlag" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MenuFlag" class="def">MenuFlag</a> = <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#MenuFlag" class="link">Source</a> <a href="#t:MenuFlag" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gMDI_USEDISABLED" class="def">gMDI_USEDISABLED</a> :: <a href="Graphics-Win32-Menu.html#t:GMDIFlag" title="Graphics.Win32.Menu">GMDIFlag</a> <a href="src/Graphics.Win32.Menu.html#gMDI_USEDISABLED" class="link">Source</a> <a href="#v:gMDI_USEDISABLED" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gMDI_GOINTOPOPUPS" class="def">gMDI_GOINTOPOPUPS</a> :: <a href="Graphics-Win32-Menu.html#t:GMDIFlag" title="Graphics.Win32.Menu">GMDIFlag</a> <a href="src/Graphics.Win32.Menu.html#gMDI_GOINTOPOPUPS" class="link">Source</a> <a href="#v:gMDI_GOINTOPOPUPS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_BYCOMMAND" class="def">mF_BYCOMMAND</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mF_BYCOMMAND" class="link">Source</a> <a href="#v:mF_BYCOMMAND" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_BYPOSITION" class="def">mF_BYPOSITION</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mF_BYPOSITION" class="link">Source</a> <a href="#v:mF_BYPOSITION" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_CHECKED" class="def">mF_CHECKED</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mF_CHECKED" class="link">Source</a> <a href="#v:mF_CHECKED" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MenuItem" class="def">MenuItem</a> = <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#MenuItem" class="link">Source</a> <a href="#t:MenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_INSERT" class="def">mF_INSERT</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_INSERT" class="link">Source</a> <a href="#v:mF_INSERT" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_CHANGE" class="def">mF_CHANGE</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_CHANGE" class="link">Source</a> <a href="#v:mF_CHANGE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_APPEND" class="def">mF_APPEND</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_APPEND" class="link">Source</a> <a href="#v:mF_APPEND" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_DELETE" class="def">mF_DELETE</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_DELETE" class="link">Source</a> <a href="#v:mF_DELETE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_REMOVE" class="def">mF_REMOVE</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_REMOVE" class="link">Source</a> <a href="#v:mF_REMOVE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_USECHECKBITMAPS" class="def">mF_USECHECKBITMAPS</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_USECHECKBITMAPS" class="link">Source</a> <a href="#v:mF_USECHECKBITMAPS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_POPUP" class="def">mF_POPUP</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_POPUP" class="link">Source</a> <a href="#v:mF_POPUP" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_STRING" class="def">mFT_STRING</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_STRING" class="link">Source</a> <a href="#v:mFT_STRING" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_SYSMENU" class="def">mF_SYSMENU</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_SYSMENU" class="link">Source</a> <a href="#v:mF_SYSMENU" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_BITMAP" class="def">mFT_BITMAP</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_BITMAP" class="link">Source</a> <a href="#v:mFT_BITMAP" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_HELP" class="def">mF_HELP</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_HELP" class="link">Source</a> <a href="#v:mF_HELP" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_MENUBARBREAK" class="def">mFT_MENUBARBREAK</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_MENUBARBREAK" class="link">Source</a> <a href="#v:mFT_MENUBARBREAK" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_MOUSESELECT" class="def">mF_MOUSESELECT</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_MOUSESELECT" class="link">Source</a> <a href="#v:mF_MOUSESELECT" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_MENUBREAK" class="def">mFT_MENUBREAK</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_MENUBREAK" class="link">Source</a> <a href="#v:mFT_MENUBREAK" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mF_END" class="def">mF_END</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#mF_END" class="link">Source</a> <a href="#v:mF_END" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_OWNERDRAW" class="def">mFT_OWNERDRAW</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_OWNERDRAW" class="link">Source</a> <a href="#v:mFT_OWNERDRAW" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_RADIOCHECK" class="def">mFT_RADIOCHECK</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_RADIOCHECK" class="link">Source</a> <a href="#v:mFT_RADIOCHECK" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_SEPARATOR" class="def">mFT_SEPARATOR</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_SEPARATOR" class="link">Source</a> <a href="#v:mFT_SEPARATOR" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_GRAYED" class="def">mFS_GRAYED</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_GRAYED" class="link">Source</a> <a href="#v:mFS_GRAYED" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_RIGHTORDER" class="def">mFT_RIGHTORDER</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_RIGHTORDER" class="link">Source</a> <a href="#v:mFT_RIGHTORDER" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_DISABLED" class="def">mFS_DISABLED</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_DISABLED" class="link">Source</a> <a href="#v:mFS_DISABLED" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFT_RIGHTJUSTIFY" class="def">mFT_RIGHTJUSTIFY</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> <a href="src/Graphics.Win32.Menu.html#mFT_RIGHTJUSTIFY" class="link">Source</a> <a href="#v:mFT_RIGHTJUSTIFY" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_CHECKED" class="def">mFS_CHECKED</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_CHECKED" class="link">Source</a> <a href="#v:mFS_CHECKED" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_HILITE" class="def">mFS_HILITE</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_HILITE" class="link">Source</a> <a href="#v:mFS_HILITE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_ENABLED" class="def">mFS_ENABLED</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_ENABLED" class="link">Source</a> <a href="#v:mFS_ENABLED" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_UNCHECKED" class="def">mFS_UNCHECKED</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_UNCHECKED" class="link">Source</a> <a href="#v:mFS_UNCHECKED" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:TrackMenuFlag" class="def">TrackMenuFlag</a> = <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#TrackMenuFlag" class="link">Source</a> <a href="#t:TrackMenuFlag" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_UNHILITE" class="def">mFS_UNHILITE</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_UNHILITE" class="link">Source</a> <a href="#v:mFS_UNHILITE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_LEFTBUTTON" class="def">tPM_LEFTBUTTON</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_LEFTBUTTON" class="link">Source</a> <a href="#v:tPM_LEFTBUTTON" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mFS_DEFAULT" class="def">mFS_DEFAULT</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#mFS_DEFAULT" class="link">Source</a> <a href="#v:mFS_DEFAULT" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_RIGHTBUTTON" class="def">tPM_RIGHTBUTTON</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_RIGHTBUTTON" class="link">Source</a> <a href="#v:tPM_RIGHTBUTTON" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_LEFTALIGN" class="def">tPM_LEFTALIGN</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_LEFTALIGN" class="link">Source</a> <a href="#v:tPM_LEFTALIGN" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_CENTERALIGN" class="def">tPM_CENTERALIGN</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_CENTERALIGN" class="link">Source</a> <a href="#v:tPM_CENTERALIGN" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_RIGHTALIGN" class="def">tPM_RIGHTALIGN</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_RIGHTALIGN" class="link">Source</a> <a href="#v:tPM_RIGHTALIGN" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_TOPALIGN" class="def">tPM_TOPALIGN</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_TOPALIGN" class="link">Source</a> <a href="#v:tPM_TOPALIGN" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_VCENTERALIGN" class="def">tPM_VCENTERALIGN</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_VCENTERALIGN" class="link">Source</a> <a href="#v:tPM_VCENTERALIGN" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_BOTTOMALIGN" class="def">tPM_BOTTOMALIGN</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_BOTTOMALIGN" class="link">Source</a> <a href="#v:tPM_BOTTOMALIGN" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:SystemMenuCommand" class="def">SystemMenuCommand</a> = <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#SystemMenuCommand" class="link">Source</a> <a href="#t:SystemMenuCommand" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_HORIZONTAL" class="def">tPM_HORIZONTAL</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_HORIZONTAL" class="link">Source</a> <a href="#v:tPM_HORIZONTAL" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_SIZE" class="def">sC_SIZE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_SIZE" class="link">Source</a> <a href="#v:sC_SIZE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_VERTICAL" class="def">tPM_VERTICAL</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_VERTICAL" class="link">Source</a> <a href="#v:tPM_VERTICAL" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_MOVE" class="def">sC_MOVE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_MOVE" class="link">Source</a> <a href="#v:sC_MOVE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_NONOTIFY" class="def">tPM_NONOTIFY</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_NONOTIFY" class="link">Source</a> <a href="#v:tPM_NONOTIFY" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_MINIMIZE" class="def">sC_MINIMIZE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_MINIMIZE" class="link">Source</a> <a href="#v:sC_MINIMIZE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tPM_RETURNCMD" class="def">tPM_RETURNCMD</a> :: <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> <a href="src/Graphics.Win32.Menu.html#tPM_RETURNCMD" class="link">Source</a> <a href="#v:tPM_RETURNCMD" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_MAXIMIZE" class="def">sC_MAXIMIZE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_MAXIMIZE" class="link">Source</a> <a href="#v:sC_MAXIMIZE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_NEXTWINDOW" class="def">sC_NEXTWINDOW</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_NEXTWINDOW" class="link">Source</a> <a href="#v:sC_NEXTWINDOW" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_PREVWINDOW" class="def">sC_PREVWINDOW</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_PREVWINDOW" class="link">Source</a> <a href="#v:sC_PREVWINDOW" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_CLOSE" class="def">sC_CLOSE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_CLOSE" class="link">Source</a> <a href="#v:sC_CLOSE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_VSCROLL" class="def">sC_VSCROLL</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_VSCROLL" class="link">Source</a> <a href="#v:sC_VSCROLL" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_HSCROLL" class="def">sC_HSCROLL</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_HSCROLL" class="link">Source</a> <a href="#v:sC_HSCROLL" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_MOUSEMENU" class="def">sC_MOUSEMENU</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_MOUSEMENU" class="link">Source</a> <a href="#v:sC_MOUSEMENU" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_KEYMENU" class="def">sC_KEYMENU</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_KEYMENU" class="link">Source</a> <a href="#v:sC_KEYMENU" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_ARRANGE" class="def">sC_ARRANGE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_ARRANGE" class="link">Source</a> <a href="#v:sC_ARRANGE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:isMenu" class="def">isMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#isMenu" class="link">Source</a> <a href="#v:isMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_RESTORE" class="def">sC_RESTORE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_RESTORE" class="link">Source</a> <a href="#v:sC_RESTORE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getSystemMenu" class="def">getSystemMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a>) <a href="src/Graphics.Win32.Menu.html#getSystemMenu" class="link">Source</a> <a href="#v:getSystemMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_TASKLIST" class="def">sC_TASKLIST</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_TASKLIST" class="link">Source</a> <a href="#v:sC_TASKLIST" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_SCREENSAVE" class="def">sC_SCREENSAVE</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_SCREENSAVE" class="link">Source</a> <a href="#v:sC_SCREENSAVE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetSystemMenu" class="def">c_GetSystemMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#c_GetSystemMenu" class="link">Source</a> <a href="#v:c_GetSystemMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_HOTKEY" class="def">sC_HOTKEY</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_HOTKEY" class="link">Source</a> <a href="#v:sC_HOTKEY" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getMenu" class="def">getMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a>) <a href="src/Graphics.Win32.Menu.html#getMenu" class="link">Source</a> <a href="#v:getMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_DEFAULT" class="def">sC_DEFAULT</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_DEFAULT" class="link">Source</a> <a href="#v:sC_DEFAULT" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_MONITORPOWER" class="def">sC_MONITORPOWER</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_MONITORPOWER" class="link">Source</a> <a href="#v:sC_MONITORPOWER" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetMenu" class="def">c_GetMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#c_GetMenu" class="link">Source</a> <a href="#v:c_GetMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_CONTEXTHELP" class="def">sC_CONTEXTHELP</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_CONTEXTHELP" class="link">Source</a> <a href="#v:sC_CONTEXTHELP" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getMenuDefaultItem" class="def">getMenuDefaultItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="Graphics-Win32-Menu.html#t:GMDIFlag" title="Graphics.Win32.Menu">GMDIFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> <a href="src/Graphics.Win32.Menu.html#getMenuDefaultItem" class="link">Source</a> <a href="#v:getMenuDefaultItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:sC_SEPARATOR" class="def">sC_SEPARATOR</a> :: <a href="Graphics-Win32-Menu.html#t:SystemMenuCommand" title="Graphics.Win32.Menu">SystemMenuCommand</a> <a href="src/Graphics.Win32.Menu.html#sC_SEPARATOR" class="link">Source</a> <a href="#v:sC_SEPARATOR" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetMenuDefaultItem" class="def">c_GetMenuDefaultItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#c_GetMenuDefaultItem" class="link">Source</a> <a href="#v:c_GetMenuDefaultItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getMenuState" class="def">getMenuState</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#getMenuState" class="link">Source</a> <a href="#v:getMenuState" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetMenuState" class="def">c_GetMenuState</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a> <a href="src/Graphics.Win32.Menu.html#c_GetMenuState" class="link">Source</a> <a href="#v:c_GetMenuState" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getSubMenu" class="def">getSubMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a>) <a href="src/Graphics.Win32.Menu.html#getSubMenu" class="link">Source</a> <a href="#v:getSubMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetSubMenu" class="def">c_GetSubMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#c_GetSubMenu" class="link">Source</a> <a href="#v:c_GetSubMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:setMenu" class="def">setMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#setMenu" class="link">Source</a> <a href="#v:setMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_SetMenu" class="def">c_SetMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_SetMenu" class="link">Source</a> <a href="#v:c_SetMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getMenuItemCount" class="def">getMenuItemCount</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> <a href="src/Graphics.Win32.Menu.html#getMenuItemCount" class="link">Source</a> <a href="#v:getMenuItemCount" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetMenuItemCount" class="def">c_GetMenuItemCount</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> <a href="src/Graphics.Win32.Menu.html#c_GetMenuItemCount" class="link">Source</a> <a href="#v:c_GetMenuItemCount" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MenuID" class="def">MenuID</a> = <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#MenuID" class="link">Source</a> <a href="#t:MenuID" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getMenuItemID" class="def">getMenuItemID</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> <a href="src/Graphics.Win32.Menu.html#getMenuItemID" class="link">Source</a> <a href="#v:getMenuItemID" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetMenuItemID" class="def">c_GetMenuItemID</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> <a href="src/Graphics.Win32.Menu.html#c_GetMenuItemID" class="link">Source</a> <a href="#v:c_GetMenuItemID" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:MenuItemInfo" class="def">MenuItemInfo</a> <a href="src/Graphics.Win32.Menu.html#MenuItemInfo" class="link">Source</a> <a href="#t:MenuItemInfo" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:MenuItemInfo" class="def">MenuItemInfo</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:menuItemType" class="def">menuItemType</a> :: <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menuItemState" class="def">menuItemState</a> :: <a href="Graphics-Win32-Menu.html#t:MenuState" title="Graphics.Win32.Menu">MenuState</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menuItemID" class="def">menuItemID</a> :: <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menuItemSubMenu" class="def">menuItemSubMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menuItemBitmapChecked" class="def">menuItemBitmapChecked</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HBITMAP" title="Graphics.Win32.GDI.Types">HBITMAP</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menuItemBitmapUnchecked" class="def">menuItemBitmapUnchecked</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HBITMAP" title="Graphics.Win32.GDI.Types">HBITMAP</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menuItemData" class="def">menuItemData</a> :: <a href="System-Win32-Types.html#t:DWORD" title="System.Win32.Types">DWORD</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:menuItemTypeData" class="def">menuItemTypeData</a> :: <a href="../base/Data-String.html#t:String" title="Data.String">String</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div></div><div class="top"><p class="src"><a id="v:peekMenuItemInfo" class="def">peekMenuItemInfo</a> :: <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> <a href="src/Graphics.Win32.Menu.html#peekMenuItemInfo" class="link">Source</a> <a href="#v:peekMenuItemInfo" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:allocaMenuItemInfo" class="def">allocaMenuItemInfo</a> :: (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/Graphics.Win32.Menu.html#allocaMenuItemInfo" class="link">Source</a> <a href="#v:allocaMenuItemInfo" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withMenuItemInfo" class="def">withMenuItemInfo</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/Graphics.Win32.Menu.html#withMenuItemInfo" class="link">Source</a> <a href="#v:withMenuItemInfo" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MenuItemMask" class="def">MenuItemMask</a> = <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#MenuItemMask" class="link">Source</a> <a href="#t:MenuItemMask" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mIIM_CHECKMARKS" class="def">mIIM_CHECKMARKS</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> <a href="src/Graphics.Win32.Menu.html#mIIM_CHECKMARKS" class="link">Source</a> <a href="#v:mIIM_CHECKMARKS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mIIM_DATA" class="def">mIIM_DATA</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> <a href="src/Graphics.Win32.Menu.html#mIIM_DATA" class="link">Source</a> <a href="#v:mIIM_DATA" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mIIM_ID" class="def">mIIM_ID</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> <a href="src/Graphics.Win32.Menu.html#mIIM_ID" class="link">Source</a> <a href="#v:mIIM_ID" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mIIM_STATE" class="def">mIIM_STATE</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> <a href="src/Graphics.Win32.Menu.html#mIIM_STATE" class="link">Source</a> <a href="#v:mIIM_STATE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mIIM_SUBMENU" class="def">mIIM_SUBMENU</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> <a href="src/Graphics.Win32.Menu.html#mIIM_SUBMENU" class="link">Source</a> <a href="#v:mIIM_SUBMENU" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pokeFMask" class="def">pokeFMask</a> :: <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#pokeFMask" class="link">Source</a> <a href="#v:pokeFMask" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mIIM_TYPE" class="def">mIIM_TYPE</a> :: <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> <a href="src/Graphics.Win32.Menu.html#mIIM_TYPE" class="link">Source</a> <a href="#v:mIIM_TYPE" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getMenuItemInfo" class="def">getMenuItemInfo</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> <a href="src/Graphics.Win32.Menu.html#getMenuItemInfo" class="link">Source</a> <a href="#v:getMenuItemInfo" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetMenuItemInfo" class="def">c_GetMenuItemInfo</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_GetMenuItemInfo" class="link">Source</a> <a href="#v:c_GetMenuItemInfo" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getMenuItemRect" class="def">getMenuItemRect</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:RECT" title="Graphics.Win32.GDI.Types">RECT</a> <a href="src/Graphics.Win32.Menu.html#getMenuItemRect" class="link">Source</a> <a href="#v:getMenuItemRect" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_GetMenuItemRect" class="def">c_GetMenuItemRect</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:LPRECT" title="Graphics.Win32.GDI.Types">LPRECT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_GetMenuItemRect" class="link">Source</a> <a href="#v:c_GetMenuItemRect" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:hiliteMenuItem" class="def">hiliteMenuItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#hiliteMenuItem" class="link">Source</a> <a href="#v:hiliteMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:insertMenuItem" class="def">insertMenuItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#insertMenuItem" class="link">Source</a> <a href="#v:insertMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_InsertMenuItem" class="def">c_InsertMenuItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_InsertMenuItem" class="link">Source</a> <a href="#v:c_InsertMenuItem" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Menu" class="def">Menu</a> = <a href="System-Win32-Types.html#t:LPCTSTR" title="System.Win32.Types">LPCTSTR</a> <a href="src/Graphics.Win32.Menu.html#Menu" class="link">Source</a> <a href="#t:Menu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:loadMenu" class="def">loadMenu</a> :: <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="System-Win32-Types.html#t:HINSTANCE" title="System.Win32.Types">HINSTANCE</a> -&gt; <a href="Graphics-Win32-Menu.html#t:Menu" title="Graphics.Win32.Menu">Menu</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#loadMenu" class="link">Source</a> <a href="#v:loadMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_LoadMenu" class="def">c_LoadMenu</a> :: <a href="System-Win32-Types.html#t:HINSTANCE" title="System.Win32.Types">HINSTANCE</a> -&gt; <a href="Graphics-Win32-Menu.html#t:Menu" title="Graphics.Win32.Menu">Menu</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> <a href="src/Graphics.Win32.Menu.html#c_LoadMenu" class="link">Source</a> <a href="#v:c_LoadMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:menuItemFromPoint" class="def">menuItemFromPoint</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:POINT" title="Graphics.Win32.GDI.Types">POINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> <a href="src/Graphics.Win32.Menu.html#menuItemFromPoint" class="link">Source</a> <a href="#v:menuItemFromPoint" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:setMenuDefaultItem" class="def">setMenuDefaultItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#setMenuDefaultItem" class="link">Source</a> <a href="#v:setMenuDefaultItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_SetMenuDefaultItem" class="def">c_SetMenuDefaultItem</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_SetMenuDefaultItem" class="link">Source</a> <a href="#v:c_SetMenuDefaultItem" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:setMenuItemBitmaps" class="def">setMenuItemBitmaps</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HBITMAP" title="Graphics.Win32.GDI.Types">HBITMAP</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HBITMAP" title="Graphics.Win32.GDI.Types">HBITMAP</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#setMenuItemBitmaps" class="link">Source</a> <a href="#v:setMenuItemBitmaps" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_SetMenuItemBitmaps" class="def">c_SetMenuItemBitmaps</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HBITMAP" title="Graphics.Win32.GDI.Types">HBITMAP</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HBITMAP" title="Graphics.Win32.GDI.Types">HBITMAP</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_SetMenuItemBitmaps" class="link">Source</a> <a href="#v:c_SetMenuItemBitmaps" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:destroyMenu" class="def">destroyMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#destroyMenu" class="link">Source</a> <a href="#v:destroyMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_DestroyMenu" class="def">c_DestroyMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_DestroyMenu" class="link">Source</a> <a href="#v:c_DestroyMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:deleteMenu" class="def">deleteMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#deleteMenu" class="link">Source</a> <a href="#v:deleteMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_DeleteMenu" class="def">c_DeleteMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_DeleteMenu" class="link">Source</a> <a href="#v:c_DeleteMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:setMenuItemInfo" class="def">setMenuItemInfo</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItemMask" title="Graphics.Win32.Menu">MenuItemMask</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#setMenuItemInfo" class="link">Source</a> <a href="#v:setMenuItemInfo" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_SetMenuItemInfo" class="def">c_SetMenuItemInfo</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:MenuItemInfo" title="Graphics.Win32.Menu">MenuItemInfo</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_SetMenuItemInfo" class="link">Source</a> <a href="#v:c_SetMenuItemInfo" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:trackPopupMenu" class="def">trackPopupMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:RECT" title="Graphics.Win32.GDI.Types">RECT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#trackPopupMenu" class="link">Source</a> <a href="#v:trackPopupMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_TrackPopupMenu" class="def">c_TrackPopupMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:LPRECT" title="Graphics.Win32.GDI.Types">LPRECT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_TrackPopupMenu" class="link">Source</a> <a href="#v:c_TrackPopupMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:TPMPARAMS" class="def">TPMPARAMS</a> = () <a href="src/Graphics.Win32.Menu.html#TPMPARAMS" class="link">Source</a> <a href="#t:TPMPARAMS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withTPMPARAMS" class="def">withTPMPARAMS</a> :: <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-GDI-Types.html#t:RECT" title="Graphics.Win32.GDI.Types">RECT</a> -&gt; (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:TPMPARAMS" title="Graphics.Win32.Menu">TPMPARAMS</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> a <a href="src/Graphics.Win32.Menu.html#withTPMPARAMS" class="link">Source</a> <a href="#v:withTPMPARAMS" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:trackPopupMenuEx" class="def">trackPopupMenuEx</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> (<a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-GDI-Types.html#t:RECT" title="Graphics.Win32.GDI.Types">RECT</a>) -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#trackPopupMenuEx" class="link">Source</a> <a href="#v:trackPopupMenuEx" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_TrackPopupMenuEx" class="def">c_TrackPopupMenuEx</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:TrackMenuFlag" title="Graphics.Win32.Menu">TrackMenuFlag</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="../base/Data-Int.html#t:Int" title="Data.Int">Int</a> -&gt; <a href="Graphics-Win32-GDI-Types.html#t:HWND" title="Graphics.Win32.GDI.Types">HWND</a> -&gt; <a href="../base/Foreign-Ptr.html#t:Ptr" title="Foreign.Ptr">Ptr</a> <a href="Graphics-Win32-Menu.html#t:TPMPARAMS" title="Graphics.Win32.Menu">TPMPARAMS</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_TrackPopupMenuEx" class="link">Source</a> <a href="#v:c_TrackPopupMenuEx" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:appendMenu" class="def">appendMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#appendMenu" class="link">Source</a> <a href="#v:appendMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_AppendMenu" class="def">c_AppendMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> -&gt; <a href="System-Win32-Types.html#t:LPCTSTR" title="System.Win32.Types">LPCTSTR</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_AppendMenu" class="link">Source</a> <a href="#v:c_AppendMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:insertMenu" class="def">insertMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#insertMenu" class="link">Source</a> <a href="#v:insertMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_InsertMenu" class="def">c_InsertMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> -&gt; <a href="System-Win32-Types.html#t:LPCTSTR" title="System.Win32.Types">LPCTSTR</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_InsertMenu" class="link">Source</a> <a href="#v:c_InsertMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:modifyMenu" class="def">modifyMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> -&gt; <a href="../base/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="../base/Data-String.html#t:String" title="Data.String">String</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#modifyMenu" class="link">Source</a> <a href="#v:modifyMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_ModifyMenu" class="def">c_ModifyMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuID" title="Graphics.Win32.Menu">MenuID</a> -&gt; <a href="System-Win32-Types.html#t:LPCTSTR" title="System.Win32.Types">LPCTSTR</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_ModifyMenu" class="link">Source</a> <a href="#v:c_ModifyMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:removeMenu" class="def">removeMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuItem" title="Graphics.Win32.Menu">MenuItem</a> -&gt; <a href="Graphics-Win32-Menu.html#t:MenuFlag" title="Graphics.Win32.Menu">MenuFlag</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> () <a href="src/Graphics.Win32.Menu.html#removeMenu" class="link">Source</a> <a href="#v:removeMenu" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:c_RemoveMenu" class="def">c_RemoveMenu</a> :: <a href="Graphics-Win32-GDI-Types.html#t:HMENU" title="Graphics.Win32.GDI.Types">HMENU</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="System-Win32-Types.html#t:UINT" title="System.Win32.Types">UINT</a> -&gt; <a href="../base/System-IO.html#t:IO" title="System.IO">IO</a> <a href="../base/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/Graphics.Win32.Menu.html#c_RemoveMenu" class="link">Source</a> <a href="#v:c_RemoveMenu" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.25.1</p></div></body></html>